//
//  LEStatisticsSecondCell.m
//  LoveExpressBusiness
//
//  Created by 刘甲奇 on 2017/5/12.
//  Copyright © 2017年 DFH. All rights reserved.
//

#import "LEStatisticsSecondCell.h"

@implementation LEStatisticsSecondCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setTitle:(NSString *)title
{
    self.titleLabel.text = title;
}
- (void)setColor:(NSIndexPath *)indexpath
{
    switch (indexpath.row) {
        case 0:
            [self setSubColor:LERedColor];
            break;
        case 1:
            [self setSubColor:LEPurpleColor];
            break;
        case 2:
            [self setSubColor:LEShadowBlueColor];
            break;
        case 3:
            [self setSubColor:LEShadowYellowColor];
            break;
            
        default:
            break;
    }
    
}
- (void)setSubColor:(UIColor *)color
{
    self.indicatorView.backgroundColor = color;
    self.titleLabel.textColor = color;
    self.numberLabel.textColor = color;
}

@end
